package com.xbongbong.pro.statistic.pojo;

import com.alibaba.fastjson.JSONObject;
import com.xbongbong.paas.domain.entity.ext.PaasFormDataEntityExt;
import com.xbongbong.saas.enums.WorkOrderFlowNodeTypeEnum;

/**
 * 自定义指标穿透pojo
 * @author yuqian
 * @version v1.0
 * @date 2019/9/18 13:35
 * @since v1.0
 */
public class IndexThroughPojo extends PaasFormDataEntityExt {
    private static final long serialVersionUID = 5543615873377907627L;

    /**
     * 关联出库单id jsonarray
     */
    private String outstockId;
    /**
     * 是否全部出库 1是，0不是
     */
    private Integer allOutbound;
    /**
     * 工单状态(1未接收,2进行中,3已完成,4已关闭)
     */
    private Integer status;
    /**
     * 工单流程当前所处阶段id
     */
    private Long nowStageId;
    /**
     * 工单预计时间
     */
    private Integer expectedTime;
    /**
     * 工单实际耗时
     */
    private Integer actualTime;
    /**
     * 工单开始时间
     */
    private Long startTime;
    /**
     * 工单结束时间
     */
    private Long endTime;
    /**
     * 工单关闭时间
     */
    private Long closeTime;
    /**
     * 工单模板id
     */
    private Long templateId;
    /**
     * 工单类型，0普通工单，1抢单工单
     * @see WorkOrderFlowNodeTypeEnum
     */
    private Integer type;

    private JSONObject tagData;
    /**
     * 节点状态
     */
    private Integer nodeStatus;

    private JSONObject sourceData;
}
